package Offer.offer;

/**
 * 静态内部类
 * @author leiwenkang
 * @date 2020/4/6
 */
public class Test02c单例模式_静态内部类 {

    private Test02c单例模式_静态内部类() {

    }

    private static class InnerClass {
        private static Test02c单例模式_静态内部类 instance = new Test02c单例模式_静态内部类();
    }

    public static Test02c单例模式_静态内部类 getInstance() {
        return InnerClass.instance;
    }
}
